package com.huidu.bitrade.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.huidu.bitrade.config.CustomerBigDecimalSerialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("z_member_hdc")
public class MemberHdc implements Serializable {
    private Long memberId;

    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal balance;

    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal frozenBalance;

    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal systemFrozen;

    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal withdraw;

    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal exchange;

    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal fee;

    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal award;

}
